package org.jeecg.modules.complain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.system.entity.BaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
 * @Description: 认证审核
 * @Author: jeecg-boot
 * @Date:   2019-09-19
 * @Version: V1.0
 */
@Data
@TableName("cy_room_check_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="cy_room_check_user对象", description="认证审核")
public class RoomCheckUser extends BaseEntity{
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
	private java.lang.String userId;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
	private java.lang.String userName;
	/**项目id*/
	@Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
	private java.lang.String projectId;
	/**需要绑定的房间id*/
	@Excel(name = "需要绑定的房间id", width = 15)
    @ApiModelProperty(value = "需要绑定的房间id")
	private java.lang.String roomId;
	/**当前申请人填写的姓名*/
	@Excel(name = "当前申请人填写的姓名", width = 15)
    @ApiModelProperty(value = "当前申请人填写的姓名")
	private java.lang.String applyName;
	/**申请人填写电话*/
	@Excel(name = "申请人填写电话", width = 15)
    @ApiModelProperty(value = "申请人填写电话")
	private java.lang.String applyTel;
	/** 申请填写业主信息*/
	@Excel(name = " 申请填写业主信息", width = 15)
    @ApiModelProperty(value = " 申请填写业主信息")
	private java.lang.String applyCusName;
	/**申请填写业主电话*/
	@Excel(name = "申请填写业主电话", width = 15)
    @ApiModelProperty(value = "申请填写业主电话")
	private java.lang.String applyCusTel;
	/**认证地址*/
	@Excel(name = "认证地址", width = 15)
    @ApiModelProperty(value = "认证地址")
	private java.lang.String address;
	/**认证类型(1.业主,2.同住人,3.租客)*/
	@Excel(name = "认证类型(1.业主,2.同住人,3.租客)", width = 15)
    @ApiModelProperty(value = "认证类型(1.业主,2.租客,3.同住人)")
	@Dict(dicCode = "idType_dict")
	private java.lang.Integer idType;
	/**检查状态(0.待审核,1通过,-1拒绝)*/
	@Excel(name = "检查状态(0.待审核,1通过,-1拒绝)", width = 15)
    @ApiModelProperty(value = "检查状态(0.待审核,1通过,-1拒绝)")
	@Dict(dicCode = "auditRes_dict")
	private java.lang.Integer auditRes;
	/**审批者id*/
	@Excel(name = "审批者id", width = 15)
    @ApiModelProperty(value = "审批者id")
	private java.lang.String auditBy;
	/**审核备注*/
	@Excel(name = "审核备注", width = 15)
    @ApiModelProperty(value = "审核备注")
	private java.lang.String auditComment;
	/**审核日期*/
	@Excel(name = "审核日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核日期")
	private java.util.Date auditDate;
	/**imgUrl*/
	@Excel(name = "imgUrl", width = 15)
    @ApiModelProperty(value = "imgUrl")
	private java.lang.String imgUrl;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private java.lang.String createBy;
	/**createDate*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private java.lang.String updateBy;
	/**updateDate*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private java.util.Date updateTime;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
	private java.lang.String remarks;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	@TableLogic
	private java.lang.String delFlag;

	@TableField(exist = false)
	private String customerName;
	@TableField(exist = false)
	private List<String> projectIds;

	@TableField(exist = false)
	private String fromDate;
	@TableField(exist = false)
	private String toDate;
}
